package org.lem

class VolunteerHours {

  Volunteer volunteer
  Date monthAndYear
  Location location
  BigDecimal teachingHours
  BigDecimal planningHours
  BigDecimal travelHours
  BigDecimal otherRelatedHours
  String inputBy
  Date inputDate

  static constraints = {
    volunteer(blank:false)
    monthAndYear(blank:false)
    location(nullable:true)
    teachingHours(nullable:true)
    planningHours(nullable:true)
    travelHours(nullable:true)
    otherRelatedHours(nullable:true)
    inputBy(editable:false)
    inputDate(editable:false)
  }
}
